﻿using B.S.AuthCenter.ErrorCount;
using MediatR;

namespace B.S.AuthCenter.Api.Write.Application.Command.Approval
{
    public class AddAppFormCommand:IRequest<ApiResult<int>>
    {
        public string AppName { get; set; }
        public int DepartmentId { get; set; }
        public string Sorts { get; set; }
        public DateTime StartTime { get; set; }
        public DateTime EndTime { get; set; }
        public int TotalTime { get; set; }
        public DateTime ReportTime { get; set; }
        public string Reason { get; set; }
        public string HeadName { get; set; }
        public DateTime CreateTime { get; set; } = DateTime.Now;
        public string ApprovalReason { get; set; } = string.Empty;
        public bool ApprovalState { get; set; } = false;
        public int? State { get; set; }
    }
}
